package com.gaber.factory;

import com.gaber.dao.UserDao;
import com.gaber.dao.impl.UserDaoImpl;

public class MyBeanFactory1 {

    public static UserDao userDao(String name,int age) {
        System.out.println(name+age);
        return new UserDaoImpl(); 
    }
}
